package com.wisezone.springmvc.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wisezone.springmvc.dao.IUserDao;
import com.wisezone.springmvc.entity.User;

@Service("userService")
public class UserService implements IUserService {
	@Autowired
	public IUserDao userDao;

	@Override
	public void register(User user) {

	}

	@Override
	public User login(String username, String password) {
		return userDao.findUser(username, password);
	}

}
